io.write('LingXin ShuZhiDuiJiaoXiao a=')
a=io.read()

for i=1,a do 
	if(i<=a/2) then
		for j=1,a/2+1-i do  
			io.write(' ');
		end
		for k=1,2*i-1 do
			io.write('*')
		end
	io.write('\n')
	else 
		for j=1,i-a/2+1 do
			io.write(' ')
		end
		for k=1,2*(a-i)-1 do
			io.write('*')
		end
	io.write('\n')
	end
end
